<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\UserRecommend
 *
 * @property int $recommend_id 推荐id
 * @property int|null $user_id 新注册用户id
 * @property string|null $user_name 用户名
 * @property int|null $parent_id 推荐人id
 * @property string|null $recommend 推荐人名
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend query()
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend whereParentId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend whereRecommend($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend whereRecommendId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserRecommend whereUserName($value)
 * @mixin \Eloquent
 */
class UserRecommend extends Model
{
    protected $table = 'user_recommend';
    protected $primaryKey = 'recommend_id';
    protected $fillable = ['recommend_id', 'user_id', 'user_name', 'parent_id', 'recommend'];

    public $timestamps = false;
}
